package net.yvesd.cellhunter.model.filter;

import java.util.ArrayList;
import java.util.List;

import net.yvesd.cellhunter.model.coverage.SignalStrengthLocation;
import net.yvesd.cellhunter.model.filter.Filter;

public class ZeroLacFilter implements Filter {

	private static final int ZERO_LAC_VALUE = 0;

	@Override
	public List<SignalStrengthLocation> filter(int lac, int cid,
			List<SignalStrengthLocation> signalStrenghLocations) {

		List<SignalStrengthLocation> list = new ArrayList<SignalStrengthLocation>();

		if (lac != ZERO_LAC_VALUE)
			list.addAll(signalStrenghLocations);

		return list;
	}
}
